*{
    -webkit-box-sizing: border-box;
            box-sizing: border-box;   
}

ul li::before {
    content: "";
    list-style: none;
}

.statistics-container {
    width: 100%;
    height: 100%;
    margin: 0px;
    min-width: 100%; 
    min-height: 100%; 
    padding: 0 20px 20px 0;
    display: -moz-flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.statistics-aside {
    width: 250px;
    height: 100%;
    min-width: 250px;
    margin-right: 30px;
}

.statistics-main {
    -moz-flex:1;
    -webkit-box-flex:1;
        -ms-flex:1;
            flex:1;
    background: rgba(9,29,69,0.5);
    display: -moz-flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -moz-flex-direction: column;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    width: 600px;
    height: 100%;
}

header {
    width: 100%;
    height: 50px;
    vertical-align: middle;
    /*line-height: 50px;*/
    padding: 10px 10px;
    background: rgba(9,45,86,1);
    color: #8cd6cd;
    font-size: 14px;
}

.header {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    color: #97D9D0;
    text-align: center;
    /*border: 1px solid red;*/
    margin-right: 10px;
    float: right;
}

.statistics-main-header {
   display: inline-block;
}

.header>span {
    margin-right: 5px;
}

.statistics-main-header span{
    line-height: 30px;
    width: 60px;
    color: #93cdff;
    cursor: pointer;
    font-size: 14px;
    position: relative;

    display: inline-block;
    background: rgba(2,111,189,0.2);
    text-align: center;
    margin-right: 10px;
}

.statistics-main-header span.on{
    background: rgba(2,111,189,0.6);
    border: 2px solid #60aaff;
}

.statistics-table {
    -moz-flex:1;
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    display: -moz-flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: relative;
}

.button-trend {
    color: #000;
    background: #91cdff;
    width:58px;
    height: 28px;
    border:none;
    border-radius: 5px;
}

.exp {
 
    width: 54px;
    line-height: 27px;
    display: inline-block;    
    border-radius: 5px;
    border: none;
    background: #91cdff;
    text-align: center; 
    cursor: pointer;    
}

.exp a{
    color: #000;
    font-size: 12px;
    font-style: normal;
}

.week,.month{
    background: transparent;
    width: 50px;
    height: 30px;
    color: #97D9D0;
    border: 1px solid #97D9D0;
    margin-right: 6px;
}

/* 时间控件样式 */

:host/deep/ .ui-inputtext{
    background: transparent;
    color:#fff;
}

/*表格插件样式  */

:host/deep/ .ui-datatable table{
    border-collapse: collapse;
    width: 100%;
    /*table-layout: auto;*/
    font-size: 14px;
}

/* thead */

:host/deep/ .ui-datatable th.ui-state-default{
    color: white;
    background-color: #9f9b63;
}

:host/deep/ .ui-datatable tbody > tr.ui-widget-content{
    border: 1px solid #555;
}

:host/deep/ .ui-column-title{
    width: 10px;
    height: 10px;
}

/* th */

:host/deep/ .ui-datatable .ui-widget-content{
    border: 1px solid #555;
    background: #064e8b;
    color: #fff; 
    text-align: center;
}

:host/deep/ .ui-datatable tbody > tr.ui-widget-content.ui-datatable-odd{
    border: 1px solid #555;
    background: #064e8b;
    color: #fff; 
}

/* tfoot */

:host/deep/ .ui-paginator-bottom{
    border: none;
    background: rgba(18,48,100, 0.6);
}

:host/deep/ .ui-datatable .ui-state-default{
    border: 1px solid #555;
    background: #0360a6;
    color: #fff;
}

:host/deep/ .ui-paginator a:not(.ui-state-disabled):not(.ui-state-active):hover{
    background: #fba059;
    color: #fff;
}

/*===========================================*/

.alarm-hide {
    display: none;
}

:host/deep/ .ui-widget-content .ui-datatable-emptymessage{
    opacity: 0!important;
    
}

:host/deep/ .ui-paginator .ui-paginator-page.ui-state-active {
    background: #fba059;
}

:host/deep/ .ui-datatable .ui-datatable-thead>tr>th,:host/deep/ .ui-datatable .ui-datatable-tfoot>tr>td,:host/deep/ .ui-datatable .ui-datatable-data>tr>td{
    padding: 0;
    height: 38px;    
}

/*进度条*/

.progress-bar{
    height: 4px;
    overflow: hidden;
    background: rgba(221, 221, 221, 0.4);
    position: absolute;
    top: -10px;
    left: -202px;
    right: -199px;
}

.progress-bar::after {
  content: ' ';
  height: 100%;
  width: 33.3vw;
  -webkit-animation: gradcolours 5s steps(1) infinite, loadthird 1s infinite linear;
  animation: gradcolours 5s steps(1) infinite, loadthird 1s infinite linear;
  display: block;
  -webkit-transform-origin: top left;
  transform-origin: top left;
}

.divDeviceName{
    background: none;
    border: 1px solid #fff;
    border-radius: 3px;
    color: #fff;
    height: 26px;
    padding: 0 6px;
    margin: 0 20px;
}